package com.neu.pojo;

public class Result {//评测结果
	private String name;//病人的名字
	private String sex;//病人的性别
	private String modelName;//模板名字
	private String modelKind;//模板类型
	private String date;//时间
	private String worker;//医生名字
	private String suggestion;//建议
	
	//构造
	public Result() {
		super();
	}
	public Result(String name, String sex, String modelName, String modelKind, String date, String worker,
			String suggestion) {
		super();
		this.name = name;
		this.sex = sex;
		this.modelName = modelName;
		this.modelKind = modelKind;
		this.date = date;
		this.worker = worker;
		this.suggestion = suggestion;
	}
	
	//set and get
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	public String getModelKind() {
		return modelKind;
	}
	public void setModelKind(String modelKind) {
		this.modelKind = modelKind;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getWorker() {
		return worker;
	}
	public void setWorker(String worker) {
		this.worker = worker;
	}
	public String getSuggestion() {
		return suggestion;
	}
	public void setSuggestion(String suggestion) {
		this.suggestion = suggestion;
	}
	@Override
	public String toString() {
		return "{\"name\":\"" + name + "\",\"sex\":\"" + sex + "\",\"modelName\":\"" + modelName + "\",\"modelKind\":\""
				+ modelKind + "\",\"date\":\"" + date + "\",\"worker\":\"" + worker + "\",\"suggestion\":\""
				+ suggestion + "\"}";
	}
}
